package com.cxyd.modules.wcs.service;

import com.cxyd.common.service.CrudService;
import com.cxyd.common.utils.ApiResult;
import com.cxyd.modules.api.dto.DvcStateDTO;
import com.cxyd.modules.wcs.dto.StnMappingDTO;
import com.cxyd.modules.wcs.entity.StnMappingEntity;

public interface StnMappingService extends CrudService<StnMappingEntity, StnMappingDTO> {
    ApiResult updateStateByStation(DvcStateDTO dto);

    StnMappingEntity getStnByNo(String wcsStation);

    StnMappingEntity getUsableStnByNo(String wmsStation, int status);

    StnMappingEntity getUsableStnByType(String contType, String isFull);
}
